﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace mscook.core.domain
{
    public class MagazineLabel:Entity
    {
        public MagazineLabel()
        {
            PageNumber = 0;
        }
        [Required(ErrorMessage = "杂志不能为空")]
        public virtual string MagazineId
        {
            set;
            get;
        }

        [Required(ErrorMessage="页码不能为空")]
        
        public virtual int PageNumber
        {
            set;
            get;
        }

        [Required(ErrorMessage = "用户不能为空")]
        public virtual string LoginUserId
        {
            set;
            get;
        }
    }
}
